package com.sinosoft.emplmis.labor.entity;

import java.util.Date;

import com.sinosoft.framework.core.common.utils.ObjectUtil;

public class UnemployedInfoEntity {
    private String unemployedinfoId;

    private String personinfoId;
    
    private String name;
    
    private String idcard;
    
    private String sex;
    
    private String education;
    
    private String phone;

    private String unemploymentdate;

    private String knry;

    private String intention;

    private String training;

    private String difficultType;

    private Date trackingtime;

    private String removereason;

    private String street;

    private String community;

    private String remark;

    private String inputStaffcode;

    private Date inputTime;

    private String inputDepartmentcode;

    private String modifyStaffcode;

    private Date modifyTreatment;

    public String getUnemployedinfoId() {
        return unemployedinfoId;
    }

    public void setUnemployedinfoId(String unemployedinfoId) {
        this.unemployedinfoId = unemployedinfoId == null ? null : unemployedinfoId.trim();
    }

    public String getPersoninfoId() {
        return personinfoId;
    }

    public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getIdcard() {
		return idcard;
	}

	public void setIdcard(String idcard) {
		this.idcard = idcard;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getEducation() {
		return education;
	}

	public void setEducation(String education) {
		this.education = education;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public void setPersoninfoId(String personinfoId) {
        this.personinfoId = personinfoId == null ? null : personinfoId.trim();
    }

    public String getUnemploymentdate() {
		return unemploymentdate;
	}

	public void setUnemploymentdate(String unemploymentdate) {
		this.unemploymentdate = unemploymentdate;
	}

	public String getKnry() {
        return knry;
    }

    public void setKnry(String knry) {
        this.knry = knry == null ? null : knry.trim();
    }

    public String getIntention() {
        return intention;
    }

    public void setIntention(String intention) {
        this.intention = intention == null ? null : intention.trim();
    }

    public String getTraining() {
        return training;
    }

    public void setTraining(String training) {
        this.training = training == null ? null : training.trim();
    }

    public String getDifficultType() {
        return difficultType;
    }

    public void setDifficultType(String difficultType) {
        this.difficultType = difficultType == null ? null : difficultType.trim();
    }

    public Date getTrackingtime() {
        return trackingtime;
    }

    public void setTrackingtime(Date trackingtime) {
        this.trackingtime = trackingtime;
    }

    public String getRemovereason() {
        return removereason;
    }

    public void setRemovereason(String removereason) {
        this.removereason = removereason == null ? null : removereason.trim();
    }

    public String getStreet() {
        return street;
    }

    public void setStreet(String street) {
        this.street = street == null ? null : street.trim();
    }

    public String getCommunity() {
        return community;
    }

    public void setCommunity(String community) {
        this.community = community == null ? null : community.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public String getInputStaffcode() {
        return inputStaffcode;
    }

    public void setInputStaffcode(String inputStaffcode) {
        this.inputStaffcode = inputStaffcode == null ? null : inputStaffcode.trim();
    }

    public Date getInputTime() {
        return inputTime;
    }

    public void setInputTime(Date inputTime) {
        this.inputTime = inputTime;
    }

    public String getInputDepartmentcode() {
        return inputDepartmentcode;
    }

    public void setInputDepartmentcode(String inputDepartmentcode) {
        this.inputDepartmentcode = inputDepartmentcode == null ? null : inputDepartmentcode.trim();
    }

    public String getModifyStaffcode() {
        return modifyStaffcode;
    }

    public void setModifyStaffcode(String modifyStaffcode) {
        this.modifyStaffcode = modifyStaffcode == null ? null : modifyStaffcode.trim();
    }

    public Date getModifyTreatment() {
        return modifyTreatment;
    }

    public void setModifyTreatment(Date modifyTreatment) {
        this.modifyTreatment = modifyTreatment;
    }
    
    /**
     * dto对象转换为entity
     * @param entity 供精人员信息实体类
     * @param from 供精人员信息dto对象
     */
    public void toEntityData(UnemployedInfoEntity entity,Object from,String... args)
    {
    	try {
			ObjectUtil.oldToNew(entity, from, args);
		} catch (Exception e) {
			e.printStackTrace();
		}
    }
}